$OpenBSD: patch-lib_rubygems_ext_builder_rb,v 1.3 2014/11/07 15:18:56 dcoppa Exp $

Use MAKE or make from ENV over rbconfig's make.
https://github.com/rubygems/rubygems/commit/f2bad74dda8d8e463a092905f29c943c962d5e68

--- lib/rubygems/ext/builder.rb.orig	Fri Nov  7 12:39:45 2014
+++ lib/rubygems/ext/builder.rb	Fri Nov  7 12:39:55 2014
@@ -18,7 +18,7 @@ class Gem::Ext::Builder
 
     # try to find make program from Ruby configure arguments first
     RbConfig::CONFIG['configure_args'] =~ /with-make-prog\=(\w+)/
-    make_program = $1 || ENV['MAKE'] || ENV['make']
+    make_program = ENV['MAKE'] || ENV['make'] || $1
     unless make_program then
       make_program = (/mswin/ =~ RUBY_PLATFORM) ? 'nmake' : 'make'
     end
